﻿/// Copyright © 2013 Microsoft Corporation. 
/// This project is released under the Microsoft Public License (MS-PL)
///
namespace Azure.Performance
{
    using System;
    using Microsoft.WindowsAzure.Storage.Table;

    public class TestResultEntity : TableEntity
    {
        public TestResultEntity()
        {
            this.PartitionKey = "AzureStorageUploadTest";
            this.RowKey = DateTime.UtcNow.Ticks.ToString("d19");
        }

        public string TestId { get; set; }

        public string TestName { get; set; }

        public string UploadTime { get; set; }

        public string FileSize { get; set; }

        public string AverageThroughput { get; set; }

        public int Threads { get; set; }
        
        public string Protocol { get; set; }

        public string InstanceSize { get; set; }

        public string Location { get; set; }

        public string StorageAccount { get; set; }

        public string DeploymentId { get; set; }

        public DateTime StartTime { get; set; }

        public DateTime CompletedTime { get; set; }

        public string EnvironmentDetails { get; set; }
    }
}
